package cn.akwangl.dubbo;

import org.apache.dubbo.config.annotation.DubboService;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 服务提供者 {@link EnableDubbo} 用于扫描 {@link DubboService} 实现,如果在 yml 配置该属性[dubbo.scan.base-packages]则可以不用开启注解
 *
 * @author youyongkun
 * @date 2021/8/4 15:31
 */
@EnableDubbo
@SpringBootApplication
public class SpringCloudDubboProvider {
    public static void main(String[] args) {
        SpringApplication.run(SpringCloudDubboProvider.class, args);
    }
}
